﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.CachedAssetBundle
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using UnityEngine.Scripting;

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>Data structure for downloading AssetBundles to a customized cache path. Additional resources:UnityWebRequestAssetBundle.GetAssetBundle for more information.</para>
  /// </summary>
  [UsedByNativeCode]
  public struct CachedAssetBundle(string name, Hash128 hash)
  {
    private string m_Name = name;
    private Hash128 m_Hash = hash;

    /// <summary>
    ///   <para>AssetBundle name which is used as the customized cache path.</para>
    /// </summary>
    public string name
    {
      get => this.m_Name;
      set => this.m_Name = value;
    }

    /// <summary>
    ///   <para>Hash128 which is used as the version of the AssetBundle.</para>
    /// </summary>
    public Hash128 hash
    {
      get => this.m_Hash;
      set => this.m_Hash = value;
    }
  }
}
